package com.wgh.search.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * SKU搜索文档实体类
 * 用于Elasticsearch搜索中的SKU信息
 */
@Data
public class SkuDoc implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private Long productId;
    private Double price;
    private Integer stock;
    private Integer sales;
    private String image;
    private Integer status;

    // SKU属性信息
    private Map<String, String> attributes;
    private String attributesText;
}